package com.frejoys.common.dto.store;

import com.frejoys.common.dto.common.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class StoreLngAndTelDto extends PageDto {

    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "type", description = "店类型：0普通店，1品牌店", required = true, defaultValue = "111.11")
    private Integer type;

    @Schema(type = "Double", name = "lng", description = "经度", required = false, defaultValue = "111.11")
    private Double lng;

    @Schema(type = "Double", name = "lat", description = "纬度", required = false, defaultValue = "222.22")
    private Double lat;
}
